package com.cn.springcloudshop.mapper;

import com.cn.springcloudshop.model.YmUserReceivingAddress;
import com.cn.springcloudshop.model.YmUserReceivingAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YmUserReceivingAddressMapper {
    int countByExample(YmUserReceivingAddressExample example);

    int deleteByExample(YmUserReceivingAddressExample example);

    int deleteByPrimaryKey(Long receivingId);

    int insert(YmUserReceivingAddress record);

    int insertSelective(YmUserReceivingAddress record);

    List<YmUserReceivingAddress> selectByExample(YmUserReceivingAddressExample example);

    YmUserReceivingAddress selectByPrimaryKey(Long receivingId);

    int updateByExampleSelective(@Param("record") YmUserReceivingAddress record, @Param("example") YmUserReceivingAddressExample example);

    int updateByExample(@Param("record") YmUserReceivingAddress record, @Param("example") YmUserReceivingAddressExample example);

    int updateByPrimaryKeySelective(YmUserReceivingAddress record);

    int updateByPrimaryKey(YmUserReceivingAddress record);
}